package me.buick.util.jmeter.snmpprocessvisualizers;

import java.awt.Color;

public class SNMPProcessColorTemplates {
	
	private static Color[] COLOR_LIST = null;
	private int counter = 0;
	
	static{
		COLOR_LIST = new Color[]{new Color(0X009900),new Color(0X0000DD),new Color(0XCC0066),new Color(0X660099),new Color(0X660000),new Color(0X777777),new Color(0X000000)};
	}
	
	public Color getColor(){
		if(counter >= COLOR_LIST.length){
			counter = 0;
		}
		return COLOR_LIST[counter++];
	}
	
	public void resetCounter(){
		counter = 0;
	}
	
}
